/*
 * Customer.java
 *
 * Created on April 1, 2007, 1:50 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package model;

/**
 *
 * @author Alirio
 */
public class Customer {
  private String id;
  private String name;
  private byte priceIndex;
  private int diasRequerido;
  
  public Customer() {
    
  }
 
  public Customer(String id, String name) {
    this.id = id;
    this.name = name;
    this.priceIndex = 0;
  }
  
  public Customer(String id, String name, byte priceIndex,int diasRequerido) {
    this.id = id;
    this.name = name;
    this.priceIndex = priceIndex;
    this.diasRequerido= diasRequerido;
  }
  
  public String getId() {
    return id;
  }
  
  public void setId(String id) {
    this.id = id;
  }
  
  public String getName() {
    return name;
  }
  
  public void setName(String name) {
    this.name = name;
  }
  
  public String toString() {
    return this.getName();
  }

  public byte getPriceIndex() {
    return priceIndex;
  }

  public void setPriceIndex(byte priceIndex) {
    this.priceIndex = priceIndex;
  }

    public int getDiasRequerido() {
        return diasRequerido;
    }

    public void setDiasRequerido(int diasRequerido) {
        this.diasRequerido = diasRequerido;
    }
  
}
